x11: get the tool type from the wacom driver properties
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 14 Dec 2018 03:58:19 +0000 (13:58 +1000)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 18 Dec 2018 20:41:08 +0000 (21:41 +0100)
commit1b730dcf316ddb51d6a800e09f3e91df15c8d533
tree637d67d606824dd2eb0d595c8c6f951ec2fcec8c
parent142326561017178711f170a52f4e1213d4aca3d8
x11: get the tool type from the wacom driver properties

Any wacom device currently sets the tool type to UNKNOWN. The wacom driver has
a property that exports the tool type as one of stylus, eraser, cursor, pad or
touch. Only three of those are useful here but that's better than having all
of them as unknown.
gdk/x11/gdkdevicemanager-xi2.c